/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-05 06:59:56
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-24 16:00:16
 */
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

import 'constrans.dart';
import 'screens/home/home_screen.dart';

void main() {
  runApp(MyApp());
  // if (kDebugMode) {
  //   PluginManager.instance // 注册插件
  //     ..register(WidgetInfoInspector())
  //     ..register(WidgetDetailInspector())
  //     ..register(ColorSucker())
  //     ..register(AlignRuler())
  //     ..register(Performance())
  //     ..register(ShowCode())
  //     ..register(MemoryInfoPage())
  //     ..register(CpuInfoPage())
  //     ..register(DeviceInfoPanel())
  //     ..register(Console());
  //   runApp(injectUMEWidget(child: MyApp(), enable: true)); // 初始化
  // } else {
  //   runApp(MyApp());
  // }
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        scaffoldBackgroundColor: appBackgroundColor,
        textTheme: TextTheme(
          bodyText1: GoogleFonts.montserrat(),
          bodyText2: GoogleFonts.montserrat(),
        ),
      ),
      home: HomeScreen(),
    );
  }
}
